<template>
    <div class="wrap">
        <img src="http://img.douluotianxia.com/img/apply-success.png" class="icon"/>
        <div class="success">报名成功</div>
        <div class="tips">企业已收到您的申请，请注意接收来电~</div>
        <button class="btn share" open-type="share">告诉好友</button>
        <button class="btn" @click="goHome">回到首页</button>
        <!-- <button class="btn">添加到“我的小程序”，实时查看报名情况</button> -->
    </div>
</template>
<script>
export default {
    data () {
        return {};
    },
    methods: {
        goHome() {
            wx.switchTab({
                url: '/pages/home/main'
            });
        }
    },
    onShareAppMessage: function (res) {
		return {
			title: '报名成功',
			path: '/pages/home/main'
		};
    }
}
</script>
<style lang="scss" scoped>
.wrap {
    padding: 15px;
    text-align: center;
}
.icon {
    width: 100px;
    height: 85px;
    margin: 50px 0px 30px;
}
.success {
    font-size: 20px;
    color: #40444C;
    text-align: center;
}
.tips {
    font-size: 12px;
    color: $grey-color;
    text-align: center;
    margin: 10px 0px 30px;
}
.btn {
    height: 44px;
    line-height: 44px;
    background: #fff;
    border-color: $grey-color;
    font-size: 15px;
    color: $grey-color;
    margin-bottom: 20px;
}
.share {
    color: #fff;
    background: $theme-color;
}
</style>